package com.bristua.barcode.customer.enums;

/**
 * Created by Administrator on 2019/8/3 0003.
 */
public enum CustomerCode {
    CUSTOMER_IS_NOT_EXIST(2002,"该商户不存在"),
    QRCODE_IS_BIND(2000,"该二维码已经被绑定"),
    CASH_IS_NOT_ENOUGH(2003,"余额不足"),
    TAKE_CASH_PWD(2005,"资金密码错误"),
    CASH_ONE_HUNDRED(2004,"100起才能提现"),
    SEND_ORDER_FAIL_QRCODE_NOT_FIND(2001,"下单失败，没有可用的商品")
    ;
    private CustomerCode(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
